﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace borkoSi.Models
{
    public class GalleryModel
    {
    }

    public class Gallery
    {
        [Key]
        public int GalleryId { get; set; }

        public string GalleryNumber { get; set; }

        [Required(ErrorMessage = "Name is required")]
        [Display(Name = "Name")]
        [StringLength(20, ErrorMessage = "Must be under 20 char")]
        public string Name { get; set; }

        public DateTime DateCreated { get; set; }
        public DateTime DateModified { get; set; }
    }

    public class Albums
    {
        public IEnumerable<SelectListItem> AlbumsDropdownItems;
    }
}